Project Info

Objective:
Design the necessary acquisition electronics for a low-cost force sensor and calibrate the result.

Team Members:
1. Τζωρτζόπουλος Γεώργιος
2. Γκαρτζονίκας Δημήτριος

Team Contact:
Gartzonikas Dimitrios (dimitrisgartzonikas@gmail.com)

Mentor:
Gkousioudi Anastasia (anastasia.gous@hotmail.com)

Consultants:
Tzeranis Dimitrios (tzeranis@gmail.com)







Milestone 1: Electronic interface design


Design Objective

The objective of the following project is to design and finally build a device designed around a Force Sensitive Resistor (FSR sensor) that will be able to measure force values applied on test specimens, ensuring the low cost of the final design.

More specifically, the aim is to pair the changes in the electrical resistance of the sensor (due to the applied forces intended to be measured) with proportionate voltage changes in the output of the electronic interface. The device will then be calibrated in order to translate the measured output voltage into corresponding force values.

300.jpg

Brainstorming on the definition of the first requirements/evaluation criteria of our system, in the early conception stage, resulted in the following:

1. Good response characteristics
2. Low cost of system
3. Compatibility of available components
4. Ease of assembly
5. Evaluation of noise contribution to the output signal
6. Definition of accuracy of the low force sensor system
7. Definition of sensitivity of the system
8. Definition of distinctive ability of the system
9. Calibration of the system


Analog Electronics Used

The available key electronic components of the circuit were:

• FSR 400 Series Round Force Sensing Resistor
2.jpg

• 12-Bit, 4-Channel Serial Output Sampling Analog-to-Digital Converter (ADS7841)
3.jpg
• OPAx228 (High Precision, Low Noise Operational Amplifier)
4.jpg
• REF02 Voltage Reference
5.jpg
• μA79M00 Series Negative-Voltage Regulator
6.jpg
• Any additional resistor and capacitor parts necessary


More details about the Force Sensor

A force-sensing resistor (FSR) is a material whose resistance changes when a force or pressure is applied. These devices are fabricated with elastic material in four layers, consisting of:

- A layer of electrically insulating plastic;
- An active area consisting of a pattern of conductors, which is connected to two leads on the tail of the sensor;
- A plastic spacer, which includes an opening aligned with the active area, as well as an air vent through the tail;
- A flexible substrate coated with a thick polymer conductive film or ink, aligned with (or printed on) the active area.

In general, a FSR sensor is a piezoresistivity conductive polymer, which changes resistance in a predictable manner following application of force to its surface. The sensing area consists of both electrically conducting and non-conducting particles suspended in a matrix. The particle sizes are of the order of fraction of microns, and are formulated to reduce the temperature dependence, improve mechanical properties and increase surface durability. Applying a force to the surface of a the sensing film causes particles to touch the conducting electrodes, changing the resistance of the film.

fsr_internals_sm.jpg

Because the FSR's operation is dependent on its deformation, it works best when affixed to a support that is firm, flat, and smooth. Mounting the sensor on a curved surface (as is often the case when placing sensors on the body or clothing, especially on applications such as a dataglove) reduces measurement range and resistance drift. One solution is to use a sensor with a smaller active area, since less of the sensing area will be deformed by the contours of the body. In our case this problem was partially solved with the use of rubber discs (for more details, see "Measuring FSR's Resistance").

Bending the tail will also affect the performance of the FSR as the deformed air vent of the sensor's tail will change the pressure conditions inside the sensor's cavity. In cases where bending the sensor cannot be avoided, a preliminary calibration is strictly necessary to assure consistent results. Special care was taken during the calibration of our layout to immobilize our FSR in order to avoid such problems. Moreover the tail is also relatively fragile, and if bent far enough the conductive leads inside it will break, rendering the sensor useless and difficult to repair.

The FSR's output signal is a monotonic function of area and pressure. When enough force is applied, this function changes slope quickly due to sensor saturation. After this point output will not be significantly affected by an increase in applied pressure.


fsr.jpg


Preliminary Design of Analog Electronics

The operational manuals of the available components provided us with a great number of layout alternatives, covering a variety of practical applications with according layout suggestions. This gave us the opportunity to come up with a series of alternative approaches to the problem of the amplification of our sensor's signal. However, we chose a simple buffer configuration as our starting point, as suggested by the force sensor manufacturer. The basic concept is shown below.

7.JPG

The FSR works as a variable resistor in a voltage divider configuration, providing us with a variable voltage, proportional to the conductivity shift of the Sensor. The buffer isolates the circuit's output from our reference voltage and generally reduces the interaction between the circuit amplification circuit and the rest of the final measurement device components.

We have tried out some alternative layouts, in an effort to best match our design criteria. Some of the suggested layouts can be seen bellow:

Bridge connection layout:
Project_20152016_ForceSensor_electronicsconcept1.png

Inverting amplifier layout:
16.jpg

Evaluation and Final Approach

After designing and simulating the operation of the various proposed designs in the LTSpice and Tina-TI simulation environments (SPICE-based programs that simulate the operation of electronic circuits) we discarded those layouts that didn't meet our restricting criteria as defined by the available components. Our specifications regarded:

- Keeping the output of our amplification circuit in the 0-5 Volts range, as defined by the operational range of our analog-to-digital converter
- Isolating the amplification subsystem of our measurement device from the rest of its components
- Keeping our output signal as linear as possible in the measurement range, so as to ensure the optimal use of our measured force range
- Keeping the components number as low as possible - lowering the device's cost
- Simplifying the electric supply requirements of the final device

The most suitable alternative for amplifying the sensor's signal proved to be a simple non-inverting opamp configuration. It's gain capabilities, low number of components and low impedance of the op amp's output simplified the practical issues that occur on similar applications.


The preliminary schematic of the final system layout (the LT1001 operational amplifier is random choice here) is shown below in its simplest form (a buffer configuration):

var. 1 simple buffer.jpg

In the picture above are shown the V1 voltage supply (corresponding to the input voltage reference, as provided by our REF02), our FSR sensor (simulated by the variable resistor Rfsr), the voltage divider layout that carries our FSR and a reference resistance (of predetermined value - Rm) that defines the response of our device in relation to Rfsr/Rm, the feedback loop of the operational amplifier that connects its output with its inverting input, and finally the necessary voltage supplies for our op amp (Vcc).


Suggested Features:

Due to the special characteristics of the sensor (non linear correlation of force and conductivity, suggested high sensitivity for low force values/low sensitivity for high force values etc), we considered the possibility of including a number of features to the original design, so as to increase the efficiency of our device for different measuring conditions. The most promising of the suggested features are shown in the following schematic, representing an advanced version of our preliminary design:

Project_20152016_advanced version.png

Sensitivity Switch (Rsens):


As seen on the diagram below (manufacturer’s manual), the force sensor doesn‘t have the same response for the whole force range, with one of the factors it is dependent to being the value of the voltage divider's reference resistance (Rm). In order to increase the distinctive ability of our circuit for smaller force values, we considered the potential use of an adjustable gain pot or a variable gain selector that would increase the linear gain of our amplifier circuit. The position of the mentioned switch is on the the feedback loop of the amplifier (represented by the Rsens resistance in the schematic above).


15.jpg


For a more precise approximation of the measured force, we concluded to the use of a rotary switch that moves between four positions, inserting resistors of predetermined value to the feedback loop, each assigned to different predetermined gain values. The circuit's gain corresponds to the relation of Rsens/R1.

From the information that the FSR manufacturer's manual provided, we made a first approximation of the FSR's behavior. The procedure is presented in the following diagrams:



According to our approximation, we decided to define four different gain values (wich translates to four different Rsens/R1 ratios) for the following force classes:

  • For force values 0-100 g, the gain will be set to 3 (Rsens = 2R1)
  • For force values 101-250 g, the gain will be set to 2 (Rsens = R1)
  • For force values 251-500 g, the gain will be set to 1.5 (Rsens = R1*1/2)
  • For force values greater than 501 g, the gain will be set to 1 (Rsens = 0 = short circuit, practically resulting in a buffer configuration)

Its specific implementation will be examined in relation to the behavior of our sensor as this will be approximated through experimental procedures.

Offset control:

At this point we examined the possibility of zero force values producing non-zero output voltage (including noise or voltage offset caused by unpredictable factors). A suggested solution would be the use of an offset control intergrated on the operational amplifier. This would also give us control over measured voltage, giving us the ability to express the measured force in relation to an initial load.

However, this solution (as others) was rejected as the extra components added complexity to our schematic, increasing the number of components and increasing at the same time potential sources of noise in our circuit.



Milestone 2: Implementation

Subsystems, Task Assignment & Subsystem Detailed Design

Below follows the final schematic of our amplification circuit in detail:

final schem.png

Capacitors:

As seen above, the final schematic includes a number of capacitors that serve different protection purposes. Capacitor C2 forms a low pass filter in series with our circuit's input, protecting our opamp from sudden voltage changes (e.g. voltage spikes from connecting/disconnecting parts of the circuit) and eliminating external high frequency noise that could enter our circuit. Capacitor C1 also protects our system from sudden voltage changes by adding slight dynamic and phase alterations to the opamp's loop signal, preventing unwanted oscilations that would alter the output of the circuit or even damage our opamp. The decoupling capacitors C3 and C4 are connected to the supply voltages of the amplifier as suggested by the manufacturer. In general, small capacitor values were selected (1μF) so that they contribute to the dynamic responce of the system as little as possible.

Voltage Supply Subcircuit:

Our selected opamp has the ability to run with both a dual supply voltage, and a single positive supply (negative pin in this case corresponeds to ground). In the case of dual supply, the values of the negative and positive supply voltage values have to be greater than the intended measured voltage range, in order to keep the amplified signal unaffected. This means that for a measured range of 0-5 Volts we have to power our opamp with a dual supply voltage, making sure that the positive supply is greater than 5 Volts (wich is equal to the maximum measured voltage as defined by our analog to digital converter).

The first and most important practical issue that occured when setting up the supply of our device was the restricted range of positive and negative supply voltages that were available: while we had a big range of robust and accurate positive voltage supplies to choose from, the available negative supplys were not suitable to our application.

A first approach was the implementation of a voltage divider subcircuit, setting the common ground as our middle refference voltage. This would give us the ability to divide a positive voltage supply to intervals suitable for our application (for example we could divide a +12V supply to +8V and a -4V interval). Unfortunately the internal resistance of our opamp made this option impossible to implement.

To cope with this problem, we built a complimentary small voltage supply circuit in order to provide our opamp with the appropriate negative and positive supply voltages. We used a dedicated opamp (UA 741) that is intergrated in a voltage divider configuration, powered by a 12V external supply. The two leads of the voltage divider are connected both to the opamp's supply voltage inputs and the supply inputs of the main amplifier circuit. The middle node of the voltage divider is connected to the non inverting input of the subcircuit's opamp, and its output is connected to the inverting input and the common ground.

The resulting subcircuit splits the provided voltage in a negative and a positive fraction of equal absolute value. The chosen 12V power supply as a result provides the main opamp with a +6V and a -6V supply, giving us the ability to make measurements in a range falling between -4.5V to +4.5 Volts, a range that is acceptable for our application.

Buliding the Circuit

At this point we started building the amplifying circuit along with the rest of the necessary components. We constructed and assembled the sybsystems of the device on a small breadboard because of its flexibility on disassembly and the ease that provides on acquiring measurements on the various stages of our device. The reference voltage of the voltage divider (the input of our FSR) is given by our REF02 wich can provide a constant, low noise 5V voltage supply. The resistors' values were chosen as small as possible in order to reduce the chance of extra thermal noise, while at the same time avoiding to disturb their assigned purpose on the various parts of the circuit.

As is, the circuit needs two common 12V power supplies to run: one dedicated supply to power the voltage supply subcircuit and one more to power the VREF and the ADC. These can be either PSUs or any other commercial 12V adapter.
Picture2.jpg

During the construction of the circuit, and before moving on to the evaluation and calibration of the device, we decided to apply some changes that would facilitate the experimental procedures to follow. It has to be noted that the following compromises don't affect the general design of our design in no way.

- We chose to replace the ADC converter with an Arduino. The Arduino's flexibility, programmability and connectivity would make the communication between the device and a portable computer easier, giving us flexibility on a lab's environment.
- We replaced our amplifying opamp with a LM324 opamp so as to protect our original high precision opamp in case of failure.
- Originally we set the amplifying subcircuit on a gain setting of 2. In the course of the experimental procedures we adjusted the gain setting by replacing Rsens with the appropriate Resistance.

Any final minor changes to the design of the device will be decided according to the results of our evaluation and calibration experiments that follow.



Milestone 3: Sensor evaluation and calibration


Measuring FSR's Resistance

The first step was to find out how close are the manufacturer's estimates of the force sensor response to the actual sensor's response. To evaluate the given data we carried out measuring experiments in real conditions. The sensor was put under the penetrator of the load applying machine and was connected with an electronical multimeter in order to measure the resistance value of the sensor for diffrent load values.
Firstly, the need of correct welded connections for the cables came up. Because of the high sensitivity of the sensor that measured even the slightest movements of the cables or bends of the tail, we couldn't repeat the same resistance value measurements for the same applied force. To cope with this problem, we welded the sensor connectors with the cables that drove into the multimeter (and in future applications would be connected to the circuit). The body of the sensor was and its cables were fastened to the body of the load applying machine in such a way that any unwanted movements were eliminated.

The actuation force of the sensor according to its manufacturer is 0.1 Newton, so our calibration experiments started at 0.1 Newton and continued until we've reached 7.5 Newtons (as defined by the limitations of the load applying machine). The initial load step was 0.002 N/sec and each achieved load was held stable for 30 seconds. After the first two executions of this experiment we made the following observations:

- The force sensor actuated after a load of 0.9 Newtons, something that wasn't at all in compliance with the manufacturer's actuation value
- The force sensor was not able to verify its recorded resistance through repeated experiments for the same load values.

As mentioned before, on the tip of the sensor are two metal grids that are seperated by a conductive polymer. When force is applied to the surface of the sensor, this polymer is compressed and it's resistive properties are changed. But due to the unstable performance and high sensitivity of the sensor for small loads (a result of its special structural properties), the varying distiribution of the applied force on the surface of the sensor can greatly vary the value of its resistance (it is generally established that FSR sensors have an estimated deviation of 25%). This fact was easily verified after the first repeats of our evaluation experiments.

To cope with this problem, we decided to put the sensor tip between two small discs in order to focus the applied load on the surface of the sensor. Our first choice was to use two bronze discs (6 mm diameter, 2 mm thickness) and the initial experiment was repeated. However the performance of the sensor in this case was totally inconsistent. In order to even out the load distribution on its tip, we tried using two rubber discs of the same size. Below we can see a picture of the discs covering both sides of the sensor:


20151221_174436.jpg


The new layout proved to be more accurate and consistent and so a new experiment protocol was set. Furthermore, because of the load applying machine characteristics it was decided that it is pereferable to control the displacement velocity of the penetrator rather than the applied load. The penetrator velocity was set to 0.05 mm/sec and remained for 30 secs at each load level so that the viscoelastic effects of the rubber would calm down. The load range began at 0.1 Newtons and continued from 0.5 to 7.5 Newtons in stable steps of 0.5 N. This experiment was repeated 9 times in order to obtain reliable data. The detailed results can be viewed below:



The above measurements resulted in a number of conclusions:

- The measured response doesn't match with the manufacturer's given information
- We have small repeatibility, especially for smaller load values
- The measured resistance values have a great deviation on each repetition of the experiment.
- The deviation gets smaller for bigger load values, and the repeatibility becomes significant after an applied load of 5 Newtons
- The force sensor actuation load varies between 1 and 2 Newtons

According to this new information, we reapproached the operational purpose of our device. The new operational force range is set between 5 to 25 Newtons. The deviaton of the measured resistance value is so great that a gain is not necessary on the amplifying circuit of the device, as it will not contribute in the faithfulness of our measurements.

With the new adjustments to our purposed operational conditions, we move on to the final calibration of our device.

Measuring Output Voltage

We connect the finished circuit to our FSR accordingly and its output is connected to the input of our Arduino. The Arduino is then connected via USB to a laptop where we control its sample rate and any other parameters needed through a simple algorithm that documents the given measurements. Those measurements are then stored on a spreadsheet for further analysis.


Lab Space.png


After making sure the measuring system works in the appropriate manner, with the help of our Arduino we take the first measurement on the output of the circuit for an unloaded FSR (wich corresponds to 0 Volts on the input of the amplification subcircuit). The measured output is surprisingly 0 Volts, meaning that there is no thermal or electromagnetic noise coming from the various subsystems. From now on, we will assume that noise does not contribute to the results of our measurements.

Once again, the penetrator velocity of the force applying machine was set at 0.05 mm/sec and remained for 30 secs at each load level. The load range was set between 0.1 to 7.5 Newtons as described before. This experiment was repeated 9 more times in order to obtain reliable data. The detailed results can be viewed below:





FSR GRAPH.jpg

The 30 second intervals correspond to the applied force: (0-30sec=0.1N), (30-60sec=0.5N), (60-90sec=1.0N)... (420-450sec=7.0N), (450-500sec=7.5N)

Calibration, Final Conclusions

Through optical observation of the graph of our experimental results, we can make a number of observations:

- There is a surprising repeatability of our measured results even for small load values
- The force sensor actuated after a load of 1.5 N, a fact that agrees with out previous observations
- The deviations remains relatively the same for different applied forces, a fact that contrasts our previous observations
- The distinctive ability of the measurement system for loads bigger than 7 N is smaller than the distinctive error of our device
- There is a recorded contribution of the dynamic nature of our device (viscoelastic nature of rubber discs, capacitors on the circuit) to the final measurements, but it is much smaller than the distinctive error of the device, and becomes irrelevant for steady or slowly developing loads

According to the experimental results, the final suggested operational conditions are defined as:

- Suggested Measured Range: 1.5 N to 7 N
- The measured force equals to F = 2.8677*V^2 + 1.871*V + 1.377 +/- 0,4 Newtons, where V: the output of our system

The big measurement error of our device makes it inappropriate for precise measurements, although it can give us a good general approximation of the applied load on a surface or test speciments. Statistical approximations of large arrays of FSRs can give us a more detailed approximation of applied forces on speciments, but it still is far from an accurate method of force measurement. It is safe to say that the main contributor on this error is the FSR itself, although we have concluded that a more thorough mounting of the sensor can increase the precision of the measurements. The amplifying electronic circuit proved robust and precise with negligible noise although it's dynamic nature make it inapropriate for monitoring rapid changes of applied load.




References

Bibliography
1. Microelectronic Circuits (The Oxford Series in Electrical and Computer Engineering) [Adel S. Sedra, Kenneth C. Smith]
2. Βιομηχανικά Ηλεκτρονικά (Εκδόσεις ΕΜΠ) [Κυριακόπουλος Κωνσταντίνος]

Web sites
1. http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/ForceFlex/2010-10-26-DataSheet-FSR400-Layout2.pdf
2. https://www.tekscan.com/product-group/embedded-sensing/force-sensors
3. http://electroforce.tainstruments.com/electroforce/en/web/3100_products/page.html
4. https://www.youtube.com/watch?v=K03Rom3Cs28
5. https://inst.eecs.berkeley.edu/~ee105/fa14/lectures/Lecture04-Non-ideal%20Op%20Amps%20(Feedback%20circuit).pdf
6. http://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=OPA4228&fileType=pdf
7. http://www.sensorwiki.org/doku.php/sensors/force-sensitive_resistor
8. http://www.ti.com/tool/tina-ti
9. http://www.linear.com/designtools/software/



(c) 2015 Department of Mechanical Engineering, National Technical University of Athens.